#include "GapStateMap.h"

namespace tsc
{
namespace sgw
{

GapStateIdle* GapStateMap::mpStateIdle =
        GapStateIdle::instance();
GapStateConnected* GapStateMap::mpStateConnected =
        GapStateConnected::instance();
GapStateEchoPend* GapStateMap::mpStateEchoPend =
        GapStateEchoPend::instance();

/*******************************************************************************
 *
 * Constructor
 *
 ******************************************************************************/
GapStateMap::GapStateMap()
{

} // GapStateMap::GapStateMap

/*******************************************************************************
 *
 * Destructor
 *
 ******************************************************************************/
GapStateMap::~GapStateMap()
{

} // GapStateMap::~GapStateMap

common::StateBase* GapStateMap::initialState() const
{
	return mpStateIdle;
}

GapStateMap& GapStateMap::instance()
{
	static GapStateMap stateMap;
	return stateMap;
}

} // namespace sgw
} // namespace tsc
